layui.define(['layer', 'form', 'element', 'table', 'laydate']);
var layer = layui.layer
    , form = layui.form
    , element = layui.element
    , table = layui.table
    , laydate = layui.laydate;

function isTelephone(value) {
    if (/^(13[0-9]|14[5|7]|15[0|1|2|3|4|5|6|7|8|9]|18[0|1|2|3|5|6|7|8|9]|17[0|1|2|3|5|6|7|8|9])\d{8}$/.test(value)) {
        return true;
    }
    return false;
}/*正则表达判断是否为手机号*/

function IsEmpty() {
    const items = arguments;
    for (const x in items) {
        if (x === undefined || x.length == 0) {
            return true;
        }
    }
    return false;
}

function LoginOut() {
    $.get("/ShenBlue/imp/LoginUserOut", function (data) {
        const msg = data["msg"];
        layer.msg(msg, {icon: 1});
        setTimeout("location.reload()", 1500);
        return;
    });
}